package cn.yanghan;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

//课程服务
@SpringBootApplication
@EnableEurekaClient
@MapperScan("cn.yanghan.mapper")
@EnableCaching //启用spring caceh缓存
@EnableFeignClients({"cn.yanghan.client"})
public class OrderStart7030 {
    public static void main(String[] args) {
        SpringApplication.run(OrderStart7030.class,args);
    }
}
